/*
 * Name: Joon Ho Cho
 * Date: 10/24/2008
 * Course: 15-437
 */
package scheduler.model;

import org.mybeans.dao.DAOException;

import scheduler.databean.Section;
import scheduler.formbean.searchForm;

public interface SectionDao {   
	public Section create(Section section) throws DAOException;
    public Section create(String[] classroom, int courseId, String[] Day, int[] duration, String Ins, int lect, String Sec, String Sem, String[] time, int yr) throws DAOException;
    public Section create(int courseId, int lectureId, String semester, int year, String info) throws DAOException;
    public Section lookup(String id) throws DAOException;
    public Section[] getSectionForCourse(int courseId) throws DAOException;
    public Section[] getSearch(searchForm form) throws DAOException;
}
